import {abnormalOrderStatus} from "@/config/dictionary";

export function useGetAbnormalOrderStatus() {
  const getAbnormalOrderStatusLabel = (value: string) => {
    return abnormalOrderStatus.find((item) => item.value === value)?.label ?? value;
  }

  return {
    getAbnormalOrderStatusLabel
  }
}
